package com.ruoyi.convert;

import com.ruoyi.domain.Dsitem;
import com.ruoyi.domain.DsitemSubList;
import com.ruoyi.dto.DsitemDto;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface DsitemConvert {

    public DsitemConvert INSTANCE = Mappers.getMapper(DsitemConvert.class);

    /**
     * DisitemDto 转 Dsitem
     */
    public Dsitem dsitemDto2dsitemDo(DsitemDto dsitemDto);

    /**
     * Disitem 转 DsitemDto
     */
    public DsitemDto dsitemDo2dsitemDto(Dsitem dsitem);
}
